package com.baizhi.shane.shane.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 闻柏智
 * @date 2023/09/20 20:04:25
 */
@ApiModel("分页查询回答VO")
@Data
public class PageAnswerOutDTO {
    @ApiModelProperty(value = "答案ID")
    private Long answerId;
    @ApiModelProperty(value = "答案创建时间")
    @JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date answerCreateTime;
    @ApiModelProperty(value = "答案显示文本")
    private String answerDisplayText;
    @ApiModelProperty(value = "问题ID")
    private Long questionId;
    @ApiModelProperty(value = "问题标题")
    private String questionTitle;
    @ApiModelProperty(value = "答案用户ID")
    private Long answerUserId;
    @ApiModelProperty(value = "答案用户名")
    private String answerUsername;
    @ApiModelProperty(value = "回答用户昵称")
    private String answerUserNickname;
    @ApiModelProperty(value = "回答用户头像URL")
    private String answerUserImageUrl;
    @ApiModelProperty(value = "问题用户ID")
    private Long questionUserId;
    @ApiModelProperty(value = "问题用户名")
    private String questionUsername;
    @ApiModelProperty(value = "问题用户昵称")
    private String questionUserNickname;
    @ApiModelProperty(value = "问题用户头像URL")
    private String questionUserImageUrl;
}
